package com.easy.framework.security.model;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.List;

@Getter
@Setter
public class Role implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long roleId;

    private String roleKey;

    private String dataScope;

    private List<Long> deptIds;

    public Role() {
    }

    public Role(Long roleId, String roleKey, String dataScope, List<Long> deptIds) {
        this.roleId = roleId;
        this.roleKey = roleKey;
        this.dataScope = dataScope;
        this.deptIds = deptIds;
    }
}
